#include <iostream>
#include <iomanip>
#define PI 3.1415926
using namespace std;
int main ()
{int n,s;
 double r2,x,y;
 cin>>n;
 for(int i=1;i<=n;i++)
 {cin>>x>>y;
  r2=x*x+y*y;
  s=PI*r2;
  cout<<"Property "<<i<<": This property will begin eroding in year "<<(int)(s/100)+1<<"."<<endl;
 }
 cout<<"END OF OUTPUT."<<endl;
 system("pause");
 return 0;
}


  
 
